package com.yaowk.eoms.api;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("eoms")
@RequestMapping("/eoms/notify")
public interface NotifyApi {

    @PostMapping("/send")
    void send(@RequestParam("message") String message);
}
